#include "../include/types.h"
#include "../include/sys.h"
#include "../include/kbd.h"

void kbd_int(void) {
	uchar i;

	do {
		i=inb(0x64);
	} while((i & 0x01) == 0);

	i=inb(0x60);
	i--;

	if(i<0x80){
		putcar(kbdmap[i*4]);
	}
}
